<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Quick Start - Layui</title>
  <link href="layui/css/layui.css" rel="stylesheet">
</head>
<body>
<!-- body中内容为空 -->
</body>
  <!-- HTML Content -->
  <script src="layui/layui.js"></script>
  <script>
  // Usage
  layui.use(function(){
    var layer = layui.layer;//创建layui的layer对象
    // Welcome
    //layer.msg('Hello World', {icon: 6});
    
    layer.msg('世界 你好',{icon: 6});
  });
  </script>
</html>